home *** CD-ROM | disk | FTP | other *** search
/ Level 2005 Christmas (DVD) / Level_2005-XMAS_134_DVD_Knightshift.iso / Demos / Ski Racing 2006 / setup1.cab / DataCommonShadersDX9MotionBlurAlpha.psh < prev    next >
Encoding:
Text File  |  2005-11-03  |  204 b   |  15 lines

  1. ps.1.1
  2.  
  3.  
  4. tex t0 ;base texture                
  5. tex t1 ;alpha map
  6.  
  7.  
  8. ;copy texture rgb and modify alpha
  9.  
  10. ;Get RGB from base texture and alpha from alpha map. 
  11. ;Scale alpha
  12. mov r0, t0    
  13. add r0.a, t1, v1   
  14.  
  15.